﻿<Window x:Name="MainWindow1" x:Class="LanguageImprover.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Language Improver" Height="350" Width="525" ResizeMode="CanMinimize" WindowStyle="ToolWindow">
    <Window.Effect>
        <DropShadowEffect Color="#FFFF6F39"/>
    </Window.Effect>
    <Grid>
        <Label Content="Translate:" HorizontalAlignment="Left" Margin="25,26,0,0" VerticalAlignment="Top" BorderThickness="5">
            <Label.BorderBrush>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="#FFF76666" Offset="1"/>
                </LinearGradientBrush>
            </Label.BorderBrush>
        </Label>
        <TextBox x:Name="TextToTranslate" HorizontalAlignment="Left" Height="23" Margin="100,28,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"/>
        <Label Content="Result:" HorizontalAlignment="Left" Margin="25,57,0,0" VerticalAlignment="Top"/>
        <Label x:Name="ResultLabel" Content="" HorizontalAlignment="Left" Margin="100,56,0,0" VerticalAlignment="Top" Width="397" RenderTransformOrigin="0.5,0.5">
            <Label.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform Angle="12.696"/>
                    <TranslateTransform/>
                </TransformGroup>
            </Label.RenderTransform>
        </Label>
        <Button x:Name="TranslateButton" Content="Go!" HorizontalAlignment="Left" Margin="242,28,0,0" VerticalAlignment="Top" Width="33" Height="23" Click="TranslateButton_Click"/>

    </Grid>
</Window>
